HAL RAMCFG macro migration ¶
This section provides information about the HAL RAMCFG macro migration.
Note
All RAMCFG macros are removed from the HAL RAMCFG driver and replaced with exported functions in the LL RAMCFG driver.
Related concept: Removal of hardware-related macros in HAL2
HAL RAMCFG clear flag macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMCFG_CLEAR_FLAG
|
__STATIC_INLINE void LL_RAMCFG_ClearFlag(RAMCFG_TypeDef *p_ramcfg, uint32_t flags)
|
HAL RAMCFG disable IT macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMCFG_DISABLE_IT
|
__STATIC_INLINE void LL_RAMCFG_DisableIT(RAMCFG_TypeDef *p_ramcfg, uint32_t mask)
|
HAL RAMCFG enable IT macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMCFG_ENABLE_IT
|
__STATIC_INLINE void LL_RAMCFG_EnableIT(RAMCFG_TypeDef *p_ramcfg, uint32_t mask)
|
HAL RAMCFG get flag macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMCFG_GET_FLAG
|
__STATIC_INLINE uint32_t LL_RAMCFG_ReadFlag(const RAMCFG_TypeDef *p_ramcfg, uint32_t flags)
|
HAL RAMCFG get IT source macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMCFG_GET_IT_SOURCE
|
__STATIC_INLINE uint32_t LL_RAMCFG_IsEnabledIT_SE(const RAMCFG_TypeDef *p_ramcfg)
__STATIC_INLINE uint32_t LL_RAMCFG_IsEnabledIT_DE(const RAMCFG_TypeDef *p_ramcfg)
__STATIC_INLINE uint32_t LL_RAMCFG_IsEnabledIT_NMI(const RAMCFG_TypeDef *p_ramcfg)
|
HAL RAMCFG reset handle state macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_RAMCFG_RESET_HANDLE_STATE
|
Removed in HAL2 as we removed the state machine.
|